package com.iflytek.dto;

import com.iflytek.vo.GoodsVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 购物车
 * @author h_t
 * @since 2023-09-23
 */

@Data
public class CartDTO  {

    @ApiModelProperty(value = "序号,新增不传",example="1")
    private Long id;

    @ApiModelProperty(value = "商品id",example="1")
    private Long goodsId;

    @ApiModelProperty(value = "用户id",example="1")
    private Long userId;

    @ApiModelProperty(value = "商品数量",example="1")
    private Integer count;

    @ApiModelProperty(value = "加入时间")
    private String createTime;

    private GoodsVO goods;

}
